build-sys: Add -Werror=switch
authorColin Walters <walters@verbum.org>
Wed, 13 Sep 2017 15:18:04 +0000 (11:18 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 13 Sep 2017 17:06:45 +0000 (17:06 +0000)
commit93038bcf712d36e178b6d1915984dc142712580a
tree686d19a09f52ae16dc30c82b56f69f5c903a1136
parent3b315e16d89fe55423d693c4c4acf3986489de24
build-sys: Add -Werror=switch

We use the "exhaustive enum" pattern (i.e. no `default:`) in some places so
we're forced to touch all users when adding cases.

Closes: #1167
Approved by: peterbaouoft
configure.ac